package com.ibm.cognos.imt.fm

import groovy.util.slurpersupport.NodeChild

/**
 * Created by eric on 8/21/2014.
 */
class Shortcut {
    String name;
    String refObject;

    Shortcut(NodeChild root) {
        def nameNode = root.name.findAll{
            it.@locale == 'en'
        }
        name = nameNode[0].text();
        refObject = root.refobj.text();
    }


}
